package com.cgc.venus.server.ci.model.dao;

import com.cgc.venus.server.ci.model.entity.Demo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 业哥 on 2018/10/28.
 */
@Mapper
public interface DemoDao {
    public List<Demo> findByKey(@Param("key") String key);
    public int insertDemo(@Param("demo") Demo demo);
    public int updateDemo(@Param("demo") Demo demo);
    public int deleteDemoById(@Param("id") String id);
}
